package com.example.videoworks.mapper;

import com.example.videoworks.entity.WorkIn;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author Lily
 * @since 2023-05-11
 */
@Mapper
public interface WorkInMapper extends BaseMapper<WorkIn> {

    @Select("select * from workIn where workId LIKE CONCAT('%',#{workId},'%')")
    public List<WorkIn> getPIdInWork(String workId);

}
